home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / WV GetRight Clear 02.xpl < prev    next >
Text File  |  2002-04-06  |  2KB  |  64 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="5"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Other Programs\GetRight\"
  5. "NAME"="Recent files"
  6. "VERSION"="1.00"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Clear recent files list"
  9. "DESCRIPTION 1"="If you don't want people to see the files you have recently downloaded, click on the button."
  10. "DESCRIPTION 2"="GetRight is a program which is able to continue an interrupted file download on Internet ..."
  11. "DESCRIPTION 3"="GetRight is available at http://www.getright.com/"
  12. "AUTHOR"="FORMATMAN"
  13. "CONTACTURL"="http://formatland.free.fr/"
  14. "COPYRIGHT"="Copyright ⌐ Formatman"
  15. "COMMENT 1"="For more informations, go to http://www.xsetup.net"
  16. "COMMENT 2"="Created by VORMELKER Werner"
  17. "COMMENT 3"="http://formatland.free.fr/"
  18. "COMMENT 4"="formatman@wanadoo.fr"
  19.  
  20. sP="HKCU\Software\HeadLight\GetRight\MRU\"
  21.  
  22.  
  23. Sub Plugin_Initialize 
  24.   If RegPathExists(sP)=false then
  25.      Disable()
  26.   end if 
  27. End Sub
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  if ElementIndex=1 then     
  34.     for l=0 to 30
  35.         s="file" & l
  36.         v=RegReadValue(sP & s)
  37.         
  38.         If IsEmpty(v)=false then
  39.            Call RegDeleteValue(sP & S)
  40.         end if
  41.     Next
  42.  
  43.     Call MsgInformation("Recently downloaded files list cleared !")
  44.  end if
  45.  
  46.  
  47.  if ElementIndex=2 then 
  48.     'i=RegEnumValues(sp2a)
  49.     'for l=1 to i
  50.     '    Call RegDeleteValue(sp2a & RegEnumElement(l))
  51.     'Next
  52.     'Call RegWriteValue(sp2b,0,2)
  53.  
  54.  
  55.     'Call MsgInformation("EffacΘ!")
  56.  end if
  57.  
  58.  
  59.  
  60. End Sub
  61.  
  62. Sub Plugin_Terminate 
  63. End Sub
  64.